//
//  MYXPhotoItem.h
//  meiyinxiang
//
//  Created by apple on 2017/11/3.
//  Copyright © 2017年 hbjApple. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void (^finishBlock)(NSString *);
@interface MYXPhotoItem : UIControl
@property (weak, nonatomic) IBOutlet UIButton *deleteBtn;
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (nonatomic,strong) UIImage *itemImg;
@property (strong, nonatomic) NSString *uploadUrl;
@property (nonatomic,copy) finishBlock tapDeleteBlock;
+ (MYXPhotoItem *)loadNibWithPhotoItem;
- (void)uploadImgWithFinishBlock:(finishBlock)finishBlock;
@end
